package com.liuyang.demo.scanpackage;

import org.springframework.stereotype.Service;

@Service
public class Cat implements IAnimal {
    @Override
    public AnimalEnum getType() {
        return AnimalEnum.CAT;
    }

    @Override
    public void say() {
        System.out.println("喵~");
    }
}
